//
//  GlobalState.h
//  healthApp
//
//  Created by william mu on 12-8-28.
//  Copyright (c) 2012年 Tencent. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ProtocolService.h"
#import <SBJson/SBJson.h>

@interface GlobalState : NSObject
{
    @private 
    NSString* m_uid;
    ProtocolService* m_protocol;
    NSMutableDictionary* m_symptomCode2name;
}

+(GlobalState*) sharedInstance;
-(NSString*) mapSymptomCode2Name:(NSString*) code;
-(NSString*) mapSymptomName2Code:(NSString*) name;

@property (nonatomic, retain) NSString* uid;
@property (nonatomic, retain) NSDictionary* healthFieldMap;
@property (nonatomic, retain) NSDictionary* symptomMap;



@end
